package schema

import "rank/internal/entity"

type NoticeReq struct {
	PID   string `json:"pid" binding:"required"`
	Level uint8  `json:"level" binding:"required"` // 等级
	Value uint16 `json:"value" binding:"required"` // 战力值
}

type RankingRsp struct {
	MyRanking int64 `json:"myRanking"`
}

type RankPageReq struct {
	Page     uint16 `form:"page" binding:"required"`
	PageSize uint8  `form:"page-size" binding:"required"`
}

type RankPageRsp struct {
	Total int              `json:"total"`
	List  []*entity.Player `json:"list"`
}

type BanReq struct {
	PID   string `json:"pid" binding:"required"`
	Reson string `json:"reson"`
}
